package com.vca.common.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Li
 * @description 后台管理员历史密码实体类
 * @date 2023-03-24 16:23
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vca_system_password_history")
@ApiModel(value="SystemPasswordHistory对象", description="后台管理员历史密码表")
public class SystemPasswordHistory implements Serializable {

    private static final long serialVersionUID = 1014440158875247395L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "历史密码")
    private String pwd;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "后台管理员最后一次登录时间")
    private Date updateTime;

    @ApiModelProperty(value = "后台管理员添加时间")
    private Date createTime;
}
